<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div style="width: 300px;height: 300px;border: 1px dashed red;margin: 0 auto;">
        <div style="width: 150px;height: 150px;border: 1px dashed greenyellow;margin:69px;">

        </div>
    </div>
    <br>
    <br>
    <div style="width: 300px;height: 300px;background-color: greenyellow;border: 1px solid transparent;">
        <div style="width: 150px;height: 150px;background-color: hotpink;margin: 69px;">

        </div>
    </div>
</body>
</html>